{% extends "base.html" %}
{%block title%}
Addons
{%endblock%}
{% load thumbnail %}

{% block content %}
{% if latest_addon_list %}
	<ul>
	{% for addon in latest_addon_list %}
		<table>
		<tr>
		<td width=120px>
			{% thumbnail addon.addon_image "120" crop="center" as im %}
    		<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}">
			{% endthumbnail %}
		</td>
		<td>
			<div class='addon_list_title'><a href="/addons/{{ addon.id }}/">{{ addon.addon_name }}</a></div>
		</td>
		</tr>
		</table>
	{% endfor %}
	</ul>
{% else %}
	<p>No addons are available.</p>
{% endif %}

{% endblock %}